/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const calculatorRouter = {
  path: '/calculator',
  component: Layout,
  redirect: '/calculator/income_expense_item',
  name: 'calculator',
  meta: {
    title: '计算器管理',
  },
  children: [
    {
      path: 'income_expense_item',
      component: () => import('@/views/calculator/resitem/index'),
      name: 'Income-Expense-Item',
      meta: { title: '居民人均收支项' },
    },
    {
      path: 'industry',
      component: () => import('@/views/calculator/industry/index'),
      name: 'Industry',
      meta: { title: '行业管理' }
    },
    {
      path: 'wage',
      component: () => import('@/views/calculator/wage/index'),
      name: 'Wage',
      meta: { title: '行业城镇单位在岗职工平均工资' }
    },
    {
      path: 'income_expense',
      component: () => import('@/views/calculator/income_expense/index'),
      name: 'Income-Expense',
      meta: { title: '居民人均收支情况表' }
    },

  ]
}

export default calculatorRouter
